namespace uTorrentNetClient.ModelDesign.OptionalConverter
{
    public static class IntToBoolConverter
    {
        public static bool Forward(int value)
        {
            return value == 1 ? true : false;
        }

        public static int Backward(bool value)
        {
            return value ? 1 : 0;
        }
    }
}